import request from '@/utils/request'

const api_name = `/api/order/weixin`

export default {

    cancelOrder(orderId) {
        return request({
            url: `/api/order/orderInfo/auth/cancelOrder/${orderId}`,
            method: 'get'
        })
    },
    

    queryPayStatus(orderId) {
        return request({
            url: `/api/order/weixin/queryPayStatus/${orderId}`,
            method: 'get'
        })
    },
    
    //生成支付二维码 
    createNative(orderId) {
        return request({
        url: `/api/order/weixin/createNative/${orderId}`,
        method: 'get'
        })
    },
    
}
